package com.ruoyi.playlist.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 歌单-用户对象 playlist_owners
 * 
 * @author lin
 * @date 2025-03-04
 */
public class PlaylistOwners extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 歌单ID */
    private Long playlistId;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private String ownerType;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long ownerId;

    public void setPlaylistId(Long playlistId) 
    {
        this.playlistId = playlistId;
    }

    public Long getPlaylistId() 
    {
        return playlistId;
    }
    public void setOwnerType(String ownerType) 
    {
        this.ownerType = ownerType;
    }

    public String getOwnerType() 
    {
        return ownerType;
    }
    public void setOwnerId(Long ownerId) 
    {
        this.ownerId = ownerId;
    }

    public Long getOwnerId() 
    {
        return ownerId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("playlistId", getPlaylistId())
            .append("ownerType", getOwnerType())
            .append("ownerId", getOwnerId())
            .toString();
    }
}
